package com.sanq.product.mcgs.util;

import com.sanq.product.mcgs.entity.vo.MemberVo;

public class RequestUtil {

    private static final ThreadLocal<MemberVo> memberHolder = new ThreadLocal<>();

    public static void add(MemberVo memberVo) {
        memberHolder.set(memberVo);
    }

    public static MemberVo get() {
        return memberHolder.get();
    }

    public static void remove() {
        memberHolder.remove();
    }

}
